#pragma once

#ifdef __cplusplus 
extern "C" {
#endif

#include <stdio.h>

// extern double dataIn[20];
extern struct dataIn_s dataIn;
extern int lineNum;

void loadInTxt(const char *path);
void closeInTxt(void);
int readLine(void);

void creatOutTxt(const char *path);
void closeOutTxt(void);
void outLine(double *inBuf, int length);

#ifdef __cplusplus
}
#endif
